package com.aaa.hospital.pojo.query;

import lombok.Data;

/**
 * @author ZQ on 2021/12/29
 */
@Data
public class BasePage {
    private Integer pageNo;
    private Integer pageCount;
    public Integer getIndex(){

        return (pageNo-1)*pageCount;
    }
}
